<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>编辑商城用户信息</title>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<link href="../../css/demo.css" rel="stylesheet" type="text/css" />
	<script src="../../js/boot.js" type="text/javascript"></script>
	<script src="../../js/shop_user/shopUser.js" type="text/javascript"></script>
    <style type="text/css">
    html, body
    {
        font-size:12px;
        padding:0;
        margin:0;
        border:0;
        height:100%;
        overflow:hidden;
    }
    </style>
</head>
<body>    
     <!-- 数据获取到以name的方式进行装载装载到相应的位置进行显示 -->
    <form id="form1" method="post"  enctype="multipart/form-data"> 
    	<input name="userId" class="mini-hidden" id="userId"/>
    	<input name="userWebcahtHeadurl" class="mini-hidden" id="userWebcahtHeadurl"/>
    	<input name="userQqHeadurl" class="mini-hidden" id="userQqHeadurl"/>
        <div style="padding-left:11px;padding-bottom:5px;" >
            <table style="table-layout:fixed;margin-top:20px;align:center">
                 <tr style="padding:10px">
                 	<td rowspan="5" colspan="2"  style="padding:10px">
                 		<fieldset style="border:solid 1.2px #aaa;padding:3px;">
            			<legend >微信头像</legend>	
                    	<img id="headerImag" name="headerImag" src="" height="200"></img>
                    	</fieldset>
                    </td>
                    <td>用户名称</td>
                    <td style="padding:10px">    
                        <input name="userName" readonly="true"  style="width:180px"  class="mini-textbox" id="userName"/>
                    </td>
                    <td>真实姓名</td>
                    <td style="padding:10px">    
                        <input name="userRealName" readonly="true"  style="width:180px"  class="mini-textbox" id="userRealName"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>角色ID</td>
                    <td style="padding:10px">    
                       <input name=userRoleId readonly="true"  style="width:180px;"  class="mini-textbox" id="userRoleId"/>
                    </td>
                    <td>用户级别</td>
                    <td style="padding:10px">    
                       <input name="userLvId" readonly="true"   style="width:180px;" class="mini-textbox" id="userLvId"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>手机号码</td>
                    <td style="padding:10px">    
                       <input name="userMobile" readonly="true"   style="width:180px;"  class="mini-textbox" id="userMobile"/>
                    </td>
                    <td>联系电话</td>
                    <td style="padding:10px">    
                       <input name="userTel"  readonly="true" style="width:180px;"class="mini-textbox" id="userTel"/>
                    </td>
                </tr>
                 <tr style="padding:10px">
                	<td>用户邮箱</td>
                    <td style="padding:10px">    
                       <input name="userEmail" readonly="true"   style="width:180px;" class="mini-textbox" id="userEmail"/>
                    </td>
                    <td>用户邮编</td>
                    <td style="padding:10px">    
                       <input name="userZipCode" readonly="true"  style="width:180px;" class="mini-textbox" id="userZipCode"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>国家</td>
                    <td style="padding:10px">    
                       <input name="userCountry" readonly="true"  style="width:180px;"  class="mini-textbox" id="userCountry"/>
                    </td>
                    <td>省份</td>
                    <td style="padding:10px">    
                       <input name="userProvince" readonly="true"  style="width:180px;"  class="mini-textbox" id="userProvince"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>城市</td>
                    <td style="padding:10px">    
                       <input name="userCity" readonly="true"  style="width:180px;"  class="mini-textbox" id="userCity"/>
                    </td>
                	<td>区县</td>
                   <td style="padding:10px">    
                       <input name="userArea" readonly="true"  style="width:180px;"  class="mini-textbox" id="userArea"/>
                    </td>
                    <td>详细地址</td>
                   <td style="padding:10px">    
                       <input name="userAddress" readonly="true"  style="width:180px;"  class="mini-textbox" id="userAddress"/>
                    </td>
                </tr>
                 <tr style="padding:10px">
                	<td>出生年份</td>
                    <td style="padding:10px">    
                       <input name="userBornYear" readonly="true"  style="width:180px;"  class="mini-textbox" id="userBornYear"/>
                    </td>
                	<td>出生月份</td>
                   <td style="padding:10px">    
                       <input name="userBornMonth" readonly="true"  style="width:180px;"  class="mini-textbox" id="userBornMonth"/>
                    </td>
                    <td>出生日期</td>
                   <td style="padding:10px">    
                       <input name="userBornDay" readonly="true"  style="width:180px;"  class="mini-textbox" id="userBornDay"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                	<td>OPENID</td>
                    <td style="padding:10px">    
                       <input name="user_webchat_openID" readonly="true"  style="width:180px;"  class="mini-textbox" id="user_webchat_openID"/>
                    </td>
                	<td>QQ号码</td>
                   <td style="padding:10px">    
                       <input name="userQqNumber" readonly="true"  style="width:180px;"  class="mini-textbox" id="userQqNumber"/>
                    </td>
                    <td>上一次登录</td>
                   <td style="padding:10px">    
                       <input name="userLastLogin" readonly="true"  style="width:180px;"  class="mini-datepicker" format="yyyy-MM-dd H:mm:ss" timeFormat="H:mm:ss" showTime="true" id="userLastLogin"/>
                    </td>
                </tr>
                <tr style="padding:10px">
                    <td>用户余额</td>
                   <td style="padding:10px">    
                       <input name="userBalance"  style="width:180px;"  class="mini-textbox" id="userBalance"/>
                    </td>
                     <td>用户积分</td>
                   <td style="padding:10px">    
                       <input name="userPoInt"   style="width:180px;"  class="mini-textbox" id="userPoInt"/>
                    </td>
                     <td>用户福气值</td>
                   <td style="padding:10px">    
                       <input name="userGoodsValues"   style="width:180px;"  class="mini-textbox" id="userGoodsValues"/>
                    </td>
                </tr>
                 <tr style="padding:10px">
                	 <td>性别</td>
                   <td style="padding:10px">  
					 	 <select name="userSex" readonly="true" class="mini-radiobuttonlist" id="userSex">
                        	<option value="0">女</option>
                        	<option value="1">男</option>
                    	</select>
                    </td>
                     <td>删除状态</td>
                   <td style="padding:10px">    
                   		<select name="disabledState" class="mini-radiobuttonlist" id="disabledState">
                        	<option value="0">未删除</option>
                        	<option value="1">删除</option>
                    	</select>
                    </td>
                </tr>
            </table>
        </div>
        <div style="text-align:center;padding:20px;">               
            <a class="mini-button mini-button-primary" onclick="onOk" style="width:160px;margin-right:30px;">编辑用户信息</a>       
            <a class="mini-button mini-button-primary" onclick="onCancel" style="width:160px;">取     消</a>  
        </div>        
    </form>
    <script type="text/javascript">
        mini.parse();
       	form = new mini.Form("#form1");
       	
        function setImgShow(img_src) {
        	$("#headerImag").attr("src", img_src);
        }
       
    </script>
</body>
</html>
